package com.hhit.zhgd.service

import com.baomidou.mybatisplus.core.metadata.IPage
import com.baomidou.mybatisplus.extension.service.IService
import com.hhit.zhgd.domain.dto.ZhgdConstructionKeypointsDTO
import com.hhit.zhgd.domain.entity.ZhgdConstructionKeypoints
import com.hhit.zhgd.domain.response.BaseResp
import org.springframework.web.multipart.MultipartFile
import java.io.IOException

interface ZhgdConstructionKeypointsService:IService<ZhgdConstructionKeypoints> {
    @Throws(Exception::class)
    fun importConstructionKeypoints(multipartFile: MultipartFile?): BaseResp<Any?>?

    fun getConstructionKeypointsInfo(): List<ZhgdConstructionKeypoints?>?

    @Throws(IOException::class)
    fun importStandardTechnologyVideo(multipartFile: MultipartFile?, id: Int?): BaseResp<Any?>?

    @Throws(Exception::class)
    fun addConstructionKeypoints(file: MultipartFile?): BaseResp<Any?>?

    fun getConstructionKeypointsPageInfo(keyWord: String?, page: Int, size: Int): IPage<ZhgdConstructionKeypointsDTO>?

    fun delConstructionKeypoints(id: Int?): BaseResp<Any?>?
}